package com.wyh.bean;

import com.wyh.service.HelloService;
import org.apache.dubbo.config.annotation.Reference;
import org.springframework.stereotype.Component;

/**
 * @author wuyuhan
 * @date 2021/1/26 22:03
 */
@Component
public class ConsumerComponent {
    @Reference
    private HelloService helloService;

    public String sayHello(String name) {
        return helloService.sayHello(name);
    }

    public String methodA(String a){
     return helloService.methodA(a);
    }
    public String methodB(String b){
        return helloService.methodB(b);
    }
    public String methodC(String c){
        return helloService.methodC(c);
    }

}
